package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 三级分类对象 category_three
 *
 * @author ruoyi
 * @date 2024-03-14
 */
public class CategoryThree extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 三级分类主键#primary
     */
    private Long cthrId;

    /**
     * 一级分类#foreign#category_one=cone_id,cone_name
     */
    @Excel(name = "一级分类#foreign#category_one=cone_id,cone_name")
    private Long coneId;

    /**
     * 二级分类#foreign#category_two=ctwo_id,ctwo_name
     */
    @Excel(name = "二级分类#foreign#category_two=ctwo_id,ctwo_name")
    private Long ctwoId;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String cthrName;

    /**
     * 分类序号
     */
    @Excel(name = "分类序号")
    private Long cthrNum;

    /**
     * 分类代号
     */
    @Excel(name = "分类代号")
    private String cthrCode;

    /**
     * 分类说明
     */
    @Excel(name = "分类说明")
    private String cthrInfo;


    private String coneName;

    private String ctwoName;

    @Override
    public String toString() {
        return "CategoryThree{" +
                "cthrId=" + cthrId +
                ", coneId=" + coneId +
                ", ctwoId=" + ctwoId +
                ", cthrName='" + cthrName + '\'' +
                ", cthrNum=" + cthrNum +
                ", cthrCode='" + cthrCode + '\'' +
                ", cthrInfo='" + cthrInfo + '\'' +
                ", ctwoName='" + ctwoName + '\'' +
                ", coneName='" + coneName + '\'' +
                '}';
    }

    public String getCtwoName() {
        return ctwoName;
    }

    public void setCtwoName(String ctwoName) {
        this.ctwoName = ctwoName;
    }

    public String getConeName() {
        return coneName;
    }

    public void setConeName(String coneName) {
        this.coneName = coneName;
    }

    public void setCthrId(Long cthrId) {
        this.cthrId = cthrId;
    }

    public Long getCthrId() {
        return cthrId;
    }

    public void setConeId(Long coneId) {
        this.coneId = coneId;
    }

    public Long getConeId() {
        return coneId;
    }

    public void setCtwoId(Long ctwoId) {
        this.ctwoId = ctwoId;
    }

    public Long getCtwoId() {
        return ctwoId;
    }

    public void setCthrName(String cthrName) {
        this.cthrName = cthrName;
    }

    public String getCthrName() {
        return cthrName;
    }

    public void setCthrNum(Long cthrNum) {
        this.cthrNum = cthrNum;
    }

    public Long getCthrNum() {
        return cthrNum;
    }

    public void setCthrCode(String cthrCode) {
        this.cthrCode = cthrCode;
    }

    public String getCthrCode() {
        return cthrCode;
    }

    public void setCthrInfo(String cthrInfo) {
        this.cthrInfo = cthrInfo;
    }

    public String getCthrInfo() {
        return cthrInfo;
    }

}
